home *** CD-ROM | disk | FTP | other *** search
- /* test of REXX I/O */
- trace
- do j=1 to 4;
- do i=1 to 6;
- left = (i-1)*106
- top = (j-1)*50
- pos="con:"left"/"top"/106/50/"i":"j
- call open w.i.j,pos,'a'
- end
- end j
-
- /* write to each one ... */
- do j=1 to 4;
- do i=1 to 6;
- call writeln w.i.j,i j
- end
- end j
-
- /* bail out (automatic cleanup) */
- exit
-